<?php
global_config::get_instance()->add_server_class("SoapDimension","soap_dimension");
class soap_dimension
{
	public $Max = 0;
	public $Min = 0;
	
	/**
	 * Save to db
	 *
	 * 
	 * 
	 */
	public function save_to_db() {
		$dba = db_adapter::get_instance();
		
		$dimension = new dimension();
		$dimension->dimension_max->set_value($this->Max);
		$dimension->dimension_min->set_value($this->Min);
		$dba->save_unique($dimension);		
		return $dimension->dimension_id->get_value();
	}	
}


?>